/* button样式 */

.modify,
.delete,
.finish {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 0ch;
    display: none;
}

.modify {
    background-color: rgb(0, 106, 255);
}

.delete {
    background-color: rgb(255, 0, 64);
}

.delete {
    background-color: rgb(255, 0, 64);
}

.finish {
    background-color: beige;
}

a {
    text-decoration: none;
    color: #000;
    cursor: pointer;
}


/*头部样式*/


/* body{
    overflow:scroll;
} */

#recordtable::-webkit-scrollbar {
    width: 6px;
    /*竖向滚动条的宽度*/
    height: 6px;
    /*横向滚动条的高度*/
}

#recordtable::-webkit-scrollbar-thumb {
    /*滚动条里面的小方块*/
    background: #ccc;
    border-radius: 3px;
}

#recordtable::-webkit-scrollbar-track {
    /*滚动条轨道的样式*/
    /* background: #F0F0E1; */
    border-radius: 3px;
}

.header {
    background: rgb(251, 203, 7);
    width: 100%;
    height: 50px;
    min-width: 1226px;
}

.menu {
    width: 1226px;
    height: 50px;
    margin: 0px auto;
    line-height: 50px;
    font-size: 15px;
}

#logo {
    width: 160px;
    height: 50px;
    background-image: url("../images/logoyellow.jpg");
    background-size: cover;
    margin-right: 20px;
}

.header_left {
    float: left;
}

.header_left li {
    float: left;
}

.header_right {
    float: right;
}

.header_right li {
    float: left;
}

.header_right li span {
    margin: 0px 8px;
    color: #6c6d69;
}

.header_right_li {
    width: 70px;
    height: 40px;
    text-align: center;
    color: #aaa;
    position: relative;
    margin-left: 1px;
}

.header_right li a[href="登录.html"]:hover {
    color: #fff;
}

.header_right_li div {
    width: 200px;
    height: 50px;
    background: #fff;
    color: #ccc;
    position: absolute;
    right: 0px;
    display: none;
    z-index: 2;
}

.header_right_li:hover div {
    display: block;
}

.header_right_li:hover {
    background: #fff;
}

.header_right_li:hover a {
    color: orange;
}

/*4.17*/
/* 文字CSS*/
.plogo{
    width: 200px;
    height: 100px;
    position: relative;
    color: transparent;
    background:url("../images/Imoney.png") center/contain no-repeat;
    cursor: pointer;
}
.plogo::after{
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background: url('https://imgservices-1252317822.image.myqcloud.com/image/012420220165415/b0005044.svg') 0 / cover no-repeat;
    right: 43px;
    top: -8px;
    animation: random 1s -.7s steps(10) infinite;
    animation-play-state: paused;
}
.plogo:hover::after{
    animation-play-state: running;
}
@keyframes random {
    to {
        background-position: 100%;
    }
}
/*4.17*/
/* 表格部分 */

#recordtable {
    /* background-color: #59699b; */
    height: 650px;
    width: 910px;
    border-bottom: 4px solid #f0e008;
    border-radius: 10px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: scroll;
}

* {
    font-family: sans-serif;
    /* Change your font family */
}

.content-table {
    border-collapse: collapse;
    font-size: 0.9em;
    width: 600px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    table-layout: fixed;
    text-overflow: ellipsis;
}

.content-table thead tr {
    background-color: rgb(251, 203, 7);
    color: #ffffff;
    text-align: left;
    font-weight: bold;
    height: 20px;
}

.content-table th,
.content-table td {
    width: 150px;
    height: 40px;
    line-height: 40px;
    padding: 0px 15px;
    transition: 0.6s linear;
}

.content-table tr td:last-child {
    text-align: right;
}

td {
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-table tbody tr {
    background-color: white;
    border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}


@font-face{
    font-family: tea ;
    src:url("../font/x.ttf");
}

/* 金币 */

span {
    font-family: "Montserrat", sans-serif;
}

.jump {
    animation: jump 1.5s infinite ease;
}

@keyframes jump {
    0% {
        top: 0;
    }
    50% {
        top: -10px;
    }
    100% {
        top: 0;
    }
}

#board {
    display: flex;
    width: 1226px;
    /* height: 120px; */
    margin: 30px auto;
    /* background-color: rgb(236, 195, 195); */
    justify-content: space-between;
}

.coin {
    position: relative;
    height: 95px;
    width: 90px;
}

.coin .front,
.coin .back {
    position: absolute;
    height: 80px;
    width: 80px;
    background: #ffbd0b;
    border-radius: 50%;
    border-top: 5px solid #ffd84c;
    border-left: 5px solid #ffd84c;
    border-right: 5px solid #d57e08;
    border-bottom: 5px solid #d57e08;
    transform: rotate(44deg);
}

.coin .front:before,
.coin .back:before {
    content: "";
    margin: 20px 20px;
    position: absolute;
    width: 35px;
    height: 35px;
    background: #f0a608;
    border-radius: 50%;
    border-bottom: 3px solid #ffd84c;
    border-right: 3px solid #ffd84c;
    border-left: 3px solid #d57e08;
    border-top: 3px solid #d57e08;
    z-index: 2;
}

.coin .front .currency,
.coin .back .currency {
    overflow: hidden;
    position: absolute;
    color: #ffbd0b;
    font-size: 20px;
    transform: rotate(-44deg);
    line-height: 3.7;
    width: 100%;
    height: 100%;
    text-align: center;
    text-shadow: 0 3px 0 #cb7407;
    z-index: 3;
    border-radius: 50%;
}

.coin .front .currency:after,
.coin .back .currency:after {
    content: "";
    position: absolute;
    height: 200px;
    width: 40px;
    margin: 20px -65px;
    box-shadow: 50px -23px 0 -10px rgba(255, 255, 255, 0.22), 85px -10px 0 -16px rgba(255, 255, 255, 0.19);
    transform: rotate(-50deg);
    animation: shine 1.5s infinite ease;
}

@keyframes shine {
    0% {
        margin: 20px -65px;
    }
    50% {
        margin: 70px -85px;
    }
    100% {
        margin: 20px -65px;
    }
}

.coin .front .shapes,
.coin .back .shapes {
    transform: rotate(-44deg);
    position: absolute;
    top: 0px;
    left: 10px;
    width: 100%;
    height: 100%;
}

.coin .front .shapes div,
.coin .back .shapes div {
    width: 10px;
    height: 2px;
    background: #d57e08;
    border-top: 2px solid #c47207;
    margin: 30px 13px 5px -1px;
}

.coin .front .shapes div:before,
.coin .back .shapes div:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background: #d57e08;
    border-top: 2px solid #c47207;
    margin: -10px 0;
}

.coin .front .shapes div:after,
.coin .back .shapes div:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background: #d57e08;
    border-top: 2px solid #c47207;
    margin: 5px 0;
}

.coin .front .shape_l,
.coin .back .shape_l {
    float: left;
}

.coin .front .shape_r,
.coin .back .shape_r {
    float: right;
}

.coin .front .top,
.coin .back .top {
    font-size: 9px;
    color: #d67f08;
    text-align: center;
    width: 100%;
    position: absolute;
    left: -7px;
    top: -3px;
}

.coin .front .bottom,
.coin .back .bottom {
    font-size: 10px;
    color: #d67f08;
    text-align: center;
    width: 100%;
    position: absolute;
    left: -7px;
    bottom: 13px;
}

.coin .shadow {
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.4);
    left: 0;
    bottom: -50px;
    border-radius: 50%;
    z-index: -1;
    margin: 100px 0px 0 0px;
    animation: swift 1.5s infinite ease;
}

@keyframes swift {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    100% {
        opacity: 0.8;
    }
}


/* 公示部分用于展示用户的支出和预算 */

#financialInfo {
    font-family: tea;
    background-color: white;
    float: right;
    height: 100px;
    width: 600px;
    display: flex;
    border: 6px rgb(251, 203, 7) solid;
    box-sizing: content-box;
    border-radius: 10px;
    justify-content: space-around;
}

#outlay,
#income,
#budget {
    height: 100%;
    background-color: rgb(131, 131, 187);
    width: 150px;
    font-size: 20px;
    line-height: 100px;
}


/*搜索框的样式*/

#searchbox {
    /* background-color: rgb(208, 221, 29); */
    width: 1226px;
    height: 60px;
    margin: -10px auto;
    line-height: 60px;
    align-items: center;
    font-family: tea
}

#mainpart {
    display: flex;
    margin: 20px auto;
    width: 1226px;
    /* background-color: #6c6d69; */
    justify-content: space-between;
}


/* 导航栏 */

#shell {
    position: relative;
    width: 280px;
    height: 650px;
    background-color: rgb(255, 195, 0);
    border-radius: 10px;
}

#shell .buttons {
    margin: -10px 0 0 0;
    color: rgb(41, 31, 0);
}

#shell .li {
    letter-spacing: 2px;
    font: 600 17px '';
    padding: 16px 52px;
    transition: .3s;
}

#shell .li::after {
    content: '';
    position: absolute;
    left: 20px;
    margin-top: -15px;
    display: block;
    width: 10px;
    height: 10px;
    background-color: rgb(41, 31, 0);
    border-radius: 50%;
}

#shell .li ul {
    width: 0;
    height: 530px;
    padding: 60px 0;
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    background-color: rgb(230, 176, 1);
    transition: .3s;
    border-radius: 10px;
}

#shell .li ul li {
    padding: 16px 24px;
    transition: .3s;
}

#shell .li:hover ul {
    width: 228px;
}

#shell li:hover {
    background-color: rgb(255, 247, 199);
    cursor: pointer;
}

#currentBook{
    font-family: tea;
    text-overflow: ellipsis;
    width:280px;
    height: 30px;
    line-height: 30px;
    white-space:nowrap;
    overflow:hidden;
    text-align: center;
}

/* 定义全局的变量 */
:root {
    --light-color: #f4c042;
    --dark-color: #7a5600;
}


/* 将所有元素以及它的伪元素的内外边距清除,并且改变盒子模型的计算方法 */

.container {
    /* 相对定位 */
    position: relative;
    top: 20px;
    width: 910px;
    height: 565px;
    background-color: var(--light-color);
}

/* 太阳 start */
.container .sun {
    /* 绝对定位 */
    position: absolute;
    top: 200px;
    /* 这里是自动计算 也可以自己手动计算出82px */
    left: calc(50% - 136px / 2);
    width: 136px;
    height: 136px;
    animation: sun 2.7s linear infinite;
}
/* 圆圈 start */
.container .sun .sun-body {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid var(--dark-color);
    animation: sun-body 2.7s linear infinite;
}
/* 圆圈 end */
/* 外层光线 start */
.container .sun .sun-body .line {
    position: absolute;
    top: -24px;
    left: calc(50% - 3px);
    width: 6px;
    height: 12px;
    border-radius: 6px;
    background-color: var(--dark-color);
    /* 我们写了8个类名为line的元素 并设置变量--i 可以通过自定计算旋转角度 */
    transform: rotate(calc(var(--i) * 45deg));
    /* 在设置旋转角度为圆圈中心 */
    transform-origin: center 68px;
}
/* 外层光线 end */
/* 眼睛 start */
.container .sun .eye {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--dark-color);
    /* 用阴影复制一对眼睛 */
    box-shadow: 16px 0 var(--dark-color);
    animation: eye 2.7s linear infinite;
}
/* 眼睛 end */
/* 太阳 end */

/* 地平线 start */
.container .horizon {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 240px;
    background-color: var(--light-color);
}
.container .horizon::before {
    content: "";
    position: absolute;
    left: 5%;
    width: 90%;
    height: 6px;
    border-radius: 6px;
    background-color: var(--dark-color);

}
/* 地平线 end */
/* loading 字样 start */
.container .horizon::after {
    content: "您的账本现在是空的哦";
    position: absolute;
    top: 30px;
    width: 100%;
    text-align: center;
    font-size: 25px;
    color: var(--dark-color);
    animation: loading 2.7s linear infinite;
}
/* loading 字样 end*/

@keyframes sun {
    10% {
        transform: translate(0);
    }
    40%,
    70% {
        transform: translateY(-40px);
    }
}

@keyframes sun-body {
    40% {
        transform: rotate(0);
    }
    50%,
    100% {
        transform: rotate(45deg);
    }
}

@keyframes eye {
    50%,
    60% {
        transform: scale(1);
    }
    55% {
        transform: scaleY(0.1);
    }
    70%,
    100% {
        transform: translateX(34px);
    }
}

@keyframes loading {
    40% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
}
/*4.17*/
/*网页底部*/
.footer{
    width: 1226px;
    height: 100px;
    margin: 10px auto;
}
.footer-top_li_1{
    width: 1226px;
    height: 80px;
    line-height: 80px;
    text-align: center;
}


.footer-top_li_1 span{
    font-size: 20px;
    color:#616161;
    border-left: 1px solid #e0e0e0;
    margin:0px 56px;
}
.separate{
    width: 1226px;
    border-bottom:1px solid #e0e0e0;
    display: block;
}

.footer-top_li_2{
    width: 1226px;
    height: 100px;
    margin: 40px 0px;
}
.footer-top_li_a dl{
    float: left;
    display: block;
    width: 160px;
}
.footer-top_li_a dt{
    font-size: 14px;
    line-height: 14px;
    color: #424242;
    margin-bottom: 26px;
}
.footer-top_li_a dd{
    font-size: 12px;
    line-height: 18px;
    color: #424242;
    margin-top: 10px;
}
.footer-top_li_a dd a{
    color: #757575;
}

.footer-top_li_a .connect{
    width: 200px ;
    height: 10px;
    border-left: 1px solid #e0e0e0;
    float: right;
    text-align: center;

}